package com.keensense.vcm.model;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlTransient;

/**
 * @author lanjian
 * @date 2020/4/28
 */
public class VCMErrorResult {

    /**
     * code : 0
     */
    @XmlElement
    public String code;

    @XmlElement(name = "errmsg")
    public String errMsg;

    @XmlElement(name = "RequestId")
    public String RequestId;

    @XmlElement(name = "HostId")
    public String HostId;

    @XmlElement(name = "ResourceType")
    public String ResourceType;

    @XmlElement(name = "Method")
    public String Method;

    @XmlElement(name = "Header")
    public String Header;

    @XmlTransient
    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    @XmlTransient
    public String getErrMsg() {
        return errMsg;
    }

    public void setErrMsg(String errMsg) {
        this.errMsg = errMsg;
    }

    @XmlTransient
    public String getRequestId() {
        return RequestId;
    }

    public void setRequestId(String requestId) {
        RequestId = requestId;
    }

    @XmlTransient
    public String getHostId() {
        return HostId;
    }

    public void setHostId(String hostId) {
        HostId = hostId;
    }

    @XmlTransient
    public String getResourceType() {
        return ResourceType;
    }

    public void setResourceType(String resourceType) {
        ResourceType = resourceType;
    }

    @XmlTransient
    public String getMethod() {
        return Method;
    }

    public void setMethod(String method) {
        Method = method;
    }

    @XmlTransient
    public String getHeader() {
        return Header;
    }

    public void setHeader(String header) {
        Header = header;
    }
}
